package com.food.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.food.pojo.Admin;
import com.food.pojo.Foods;
import com.food.pojo.Users;

import java.util.List;


public interface UsersService extends IService<Users> {
    String getUserToken(String code);

    Users getUsers(Integer userId);

    Boolean updataUsers(Integer userId, String userName, String userSex, String userIntroduce, String userAvatar, String userBackground);
    //条件分页查询
    IPage<Users> selectPage(Page<Object> pageParam, String userNameVo);
}
